package com.neo.sk.common

import models.Tables.MoSimpleDetailRow

/**
 * User: Huangshanqi
 * Date: 2015/6/29
 * Time: 16:53
 */
sealed trait MessageTrait

case object Launcher extends MessageTrait
case object Tick extends MessageTrait
case class UrlTask(url:String) extends MessageTrait
case class SaveTagList(tags:List[(String,String)]) extends MessageTrait
case class SaveUrlList(tags:List[(String,Long)],tagName:String) extends MessageTrait
case class SaveFinishTagUrl(tagUrl:String,tagName:String) extends MessageTrait
case class SaveMovieDetail(movie:MoSimpleDetailRow) extends MessageTrait
case class Retry(url:String) extends MessageTrait
case class RetryWithDelay(url:String,delaySecond:Int) extends MessageTrait
case class FinishFetchByTag(url:String) extends MessageTrait
